#include "RenzoFreeImagePlugin.h"
#include "RenzoPrecompiled.h"
#include "RenzoImageManagerFI.h"

namespace Renzo
{
FreeImagePlugin::FreeImagePlugin(void)
{
}

FreeImagePlugin::~FreeImagePlugin(void)
{
}

const char* FreeImagePlugin::getName() const {
	return PLUGIN_RENZO_FREEIMAGE;
}

void FreeImagePlugin::install() {
	im = new ImageManagerFI;
	Renzoderer::instance()->setImageManager(im);
	Log::instance()->write("Image loader %s set.", this->getName());
}

void FreeImagePlugin::uninstall() {
	delete im;
}

void FreeImagePlugin::begin() {
}

void FreeImagePlugin::end() {
}

}